<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\hotel\Business;
use App\Http\Controllers\hotel\Hotel;

Route::prefix('/business')->group(function(){
    Route::post('login',[Business::class,'login']);
    Route::post('register',[Business::class,'register']);
    Route::post('check',[Business::class,'check']);
    Route::post('profile',[Business::class,'profile']);
});

Route::prefix('/hotel')->group(function(){
    Route::post('index',[Hotel::class,'index']);
});